package com.carrent.bus.service;

import com.carrent.bus.domain.Customer;
import com.carrent.bus.vo.CustomerVo;
import com.carrent.sys.utils.DataGridView;

/**
 *
 */
public interface CustomerService {
    //根据身份证查询
    Customer queryCustomerByIdentity(String identity);
    //查询所有客户
    DataGridView loadAllCustomer(CustomerVo customerVo);
    //添加客户
    void addCustomer(CustomerVo customerVo);
    //修改
    void updateCustomer(CustomerVo customerVo);
    //删除
    void deleteCustomer(String identity);
    //批量删除
    void deleteBatchCustomer(String[] ids);
}
